home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Utilities
/
Printer
/
HP550C
/
FontMap_extract
next >
Wrap
Text File
|
1993-05-12
|
570b
|
19 lines
#!/bin/sh
# Avery Wang
# email: avery@ccrma.stanford.edu
# March 29, 1993
# This is a script to extract the fonts from the NeXT's font libraries
# into a format suitable for ghostscript to use
echo '/Ugly (uglyr.gsf) ;' >/usr/local/lib/ghostscript/Fontmap
ls /NextLibrary/Fonts |grep '.*\.font$' \
| sed -e 's/\(\(.*\)\.font\)/\/\2 (\/NextLibrary\/Fonts\/\1\/\2) ;/g' \
>> /usr/local/lib/ghostscript/Fontmap
ls /LocalLibrary/Fonts |grep '.*\.font$' \
| sed -e 's/\(\(.*\)\.font\)/\/\2 (\/LocalLibrary\/Fonts\/\1\/\2) ;/g' \
>> /usr/local/lib/ghostscript/Fontmap